using UnityEngine;
using BehaviorDesigner.Runtime;
using BehaviorDesigner.Runtime.Tasks;

public class Attack : Action
{
    public Animator animator;
    public GameObject player;
    

    public override void OnStart(){
        animator.SetTrigger("Attack");
    }

    public override TaskStatus OnUpdate()
    {
        //判断。。。
        return TaskStatus.Success;
    }

    public override void OnEnd(){
        Debug.Log("打印2");
    }

}